/* 公共的样式 */

/* 写一个页面样式的起手式 */
* {
    box-sizing: border-box;
    /* 去除浏览器默认样式 */
    padding: 0;
    margin: 0;
}

html {
    height: 100%;
}

body {
    /* 注意, 这里的相对路径的写法 */
    background-image: url(../image/background_2.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    /* 让图片尽可能填满整个元素 */
    background-size: cover;

    height: 100%;
}
.nav {
    width: 100%;
    height: 50px;
    background-color: rgba(91, 99, 120,0.5);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.flag {
    display: flex;
    align-items: center;
}
.nav img {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    margin-left: 30px;
    margin-right: 10px;
}
.title {
    /* margin-right: 100px; */
    line-height: 50px;
    color: white;
}

.nav a {
    padding: 0 10px;
    color: white;
    text-decoration: none;
}
.page {
    margin-right: 30px;
}

.container {
    width: 1000px;
    margin: 0 auto;

    height: calc(100% - 50px);
    display: flex;
    justify-content: space-between;
}
.left {
    width: 200px;
    height: 100%;

}
.card {
    background-color: rgba(224, 227, 233,0.8);
    border-radius: 10px;
    padding: 30px;
}
.card img{
    width: 140px;
    height: 140px;
    border-radius: 70px;
}
.card h3 {
    text-align: center;
    padding: 10px 0;
}
.card a{
    display: block;
    text-align: center;
    color: gray;
    text-decoration: none;
    margin-bottom: 10px;
}
.conter {
    display: flex;
    justify-content: space-around;
    padding: 5px;
}
.right {
    width: 795px;
    height: 100%;

    background-color: rgba(224, 227, 233,0.8);
    border-radius: 10px;
    padding: 20px;

    /* 当内容超出范围时, 自动添加滚动条 */
    overflow: auto;
}